package com.party.mapper;

import com.party.model.VoPtion;
import com.party.model.VoPtionExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface VoPtionMapper {
    int countByExample(VoPtionExample example);

    int deleteByExample(VoPtionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(VoPtion record);

    int insertSelective(VoPtion record);

    List<VoPtion> selectByExample(VoPtionExample example);

    VoPtion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") VoPtion record, @Param("example") VoPtionExample example);

    int updateByExample(@Param("record") VoPtion record, @Param("example") VoPtionExample example);

    int updateByPrimaryKeySelective(VoPtion record);

    int updateByPrimaryKey(VoPtion record);


    /**
     * 自定义方法
     */
    int countByVoPtion(VoPtion voPtion);

    List<VoPtion> getListPage(VoPtion voPtion);
}